package cn.tedu.personnel.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class User {
    @ApiModelProperty(value = "员工id")
    private Long userId;
    @ApiModelProperty(value = "员工名字")
    private String name;
    @ApiModelProperty(value = "部门")
    private String department;
    @ApiModelProperty(value = "职务")
    private String level;
    @ApiModelProperty(value = "审批状态")
    private String reviewStatus;
    @ApiModelProperty(value = "入职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entryTime;
    @ApiModelProperty(value = "转正日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date regularTime;
    @ApiModelProperty(value = "离职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resignationDate;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "调岗后部门")
    private String departmentAfterTransfer;
    @ApiModelProperty(value = "调岗后职务")
    private String levelUp;
    @ApiModelProperty(value = "申请调岗日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date departmentTransferTime;
    @ApiModelProperty(value = "预计调岗日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expectedDepartmentTransferTime;
    @ApiModelProperty(value = "预计离职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expectedResignationDate;
    @ApiModelProperty(value = "申请离职日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date resignationApplicationDate;
    @ApiModelProperty(value = "离职原因")
    private String resignationReason;
    @ApiModelProperty(value = "职位")
    private String position;
    @ApiModelProperty(value = "职位更新")
    private String positionUp;
    @ApiModelProperty(value = "流程类型")
    private String type;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}